<template>
  <div>欢迎</div>


<label for="item in datalist">
    <input type="checkbox" :value="item" :id="item" v-model="hobbies"> 
    {{item}}
</label>
</template>
<script>
export default {
  data () {
      return{
hobbies:[],
          datalist:["A","C","B"]
      }
  }
}
</script>
<style lang="less" scoped>
</style>